jQuery.noConflict();

jQuery(document).ready(function($) {
  jQuery('a[rel*=facebox]').facebox()
}) 

function openpopup(message){
	jQuery.facebox(message);	
}

jQuery(document).ready(function() {
	jQuery("#datepicker").datepicker(
		{
			changeMonth: true,
			changeYear: true
		}
	);
});

function jumptodate(){
	var date = new Date();
	
	if(document.getElementById("datepicker").value != "mm/dd/yyyy" && document.getElementById("datepicker").value != "" ){
		jumpto = document.getElementById("datepicker").value.split("/");
		
		date.setFullYear(jumpto[2],jumpto[0],0);
	}
	
	document.getElementById("epoch").value = date.getTime() / 1000;
	document.getElementById("datepickerform").submit();
	
}
function formcheck(){
	if(document.getElementById("epoch").value == 0){
		return false;
	}
}